<?php
/**
 * Created by PhpStorm.
 * User: venki
 * Date: 2023/11/16
 * Time: 14:18
 */

$routes = [
    [
        'class'         => 'yii\rest\UrlRule',
        'pluralize'     => false,
        'controller'    => ['basic' => 'basic/flow'],
        'extraPatterns' => [
            'GET flow'             => 'flow',
//            'POST my-list'         => 'my-list',
//            'POST list'            => 'list',
        ],
    ]
];

return $routes;